﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="MultiplayerDice._Default" %>

<%@ Register Src="Components/LastUsers.ascx" TagName="LastUsers" TagPrefix="uc1" %>
<%@ Register Src="Components/StartGame.ascx" TagName="StartGame" TagPrefix="uc2" %>
<%@ Register Src="Components/OpenGames.ascx" TagName="OpenGames" TagPrefix="uc3" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <table width="100%">
        <tr valign="top" style="border-spacing: 10px">
            <td>
                <h3>
                    Start a new game</h3>
                <asp:LoginView ID="onlyLoggedIn" runat="server">
                    <AnonymousTemplate>
                        To play a new game, please log in.
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        <uc2:StartGame ID="StartGame1" runat="server" />
                    </LoggedInTemplate>
                </asp:LoginView>
            </td>
            <td>
                <uc3:OpenGames ID="OpenGames1" runat="server" />
            </td>
            <td>
                <uc1:LastUsers ID="LastUsers1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
